package datatype;
import java.text.*;
import java.util.*;
/**
 * data type
 * data convert
 * data arithmetic
 * */
public class DataType {
	
	public static int a = 3;
	byte by=3;
	long lg=3333;
	short st=44;
	String str="";
	public static float b;
	static double c = 1.588d;
	public static char d='3';
	
	public void pupAge(){
	      int age = 0;
	      age = age + 7;
	      System.out.println("С����������: " + age);
	   }
	
	public static void main(String[] args) {
		DataType data = new DataType();
		
		System.out.println("====int data===="+a);
		System.out.println("====int float===="+b);
		System.out.println("====int short===="+data.st);
		System.out.println("====int long===="+data.lg);
		System.out.println("====int byte===="+data.by);
		System.out.println("====int string===="+data.str);
		System.out.println("====int short===="+data.st);
		System.out.println(c);
		
		arrayData();
		intData();
		data.dateShow();

	}
	//��̬����
	public static void arrayData() {
		int[] arr= {1,3,5,5};
		System.out.println("====array data====");
		System.out.println(arr);
	}
	
	public static void intData() {
		int a=33;
		System.out.println("====int data====");
		System.out.println(a);
		
	}
	public void dateShow() {
		Date nowDate = new Date();
		System.out.println("====int data====");
		System.out.println(nowDate);
	    System.out.printf("HH:MM:SS��ʽ��24ʱ�ƣ���%tT%n",nowDate);  


	}
}
